//
//  DDFileManager.h
//  DongDongWedding
//
//  Created by 谢曦 on 2016/11/16.
//  Copyright © 2016年 gl. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef NS_ENUM(NSInteger, XXFileType){
    XXFileTypeDocument = 0,
    XXFileTypeCaches,
    XXFileTypeTmp,
};

@interface XXFileManager : NSObject
+ (XXFileManager *)sharedManager;
//创建文件
+(void)createFileWithFileType:(XXFileType)fileType fileName:(NSString *)fileName;
//创建文件夹
+(void)createDocumentWithDocumentName:(NSString *)documentname;
//删除文件夹
+(void)deleteDocumentWithDocumentName:(NSString *)documentname;


+(NSString *)filePathWithType:(XXFileType)fileType file:(NSString *)fileName;

@end
